//
//  WBHomeViewController.swift
//  SinaWB
//
//  Created by 财神软件 on 17/2/7.
//  Copyright © 2017年 财神软件. All rights reserved.
//

import UIKit

class WBHomeViewController: WBBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        let urlstr = "https://api.weibo.com/2/statuses/home_timeline.json"
        let params = ["access_token":"2.00wlvFgB55fcFE8d9a6a0361LczsuB"]
        
        WBNetWorkManager.share.get(urlstr, parameters: params, progress: nil, success: { (_ , json) in
            print(json)
            }) { (_ , error) in
            print(error)
        }

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
